package com.youlin.dto.res;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.time.LocalDate;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class DMListResDto {

    @ApiModelProperty(value="逝者信息ID")
    private Integer id;

    @ApiModelProperty(value="逝者姓名")
    private String name;

    // 逝者性别：0-男、1-女
    @ApiModelProperty(value="逝者性别：0-男、1-女")
    private Integer gender;

    // 逝者生日
    @ApiModelProperty(value="逝者生日", dataType = "java.lang.String", example = "2020-02-02")
    private LocalDate birthday;

    // 逝者忌日
    @ApiModelProperty(value="逝者忌日", dataType = "java.lang.String", example = "2020-02-02")
    private LocalDate deadday;

    @ApiModelProperty(value="逝者与承办人关系")
    private RelationResDto relation;

}
